﻿cmake_minimum_required(VERSION 3.5)

project(RXPluginTest VERSION 0.1 LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(PROJECT_SOURCES
PluginInstance.cpp
PluginInstance.h
TestClass.cpp
TestClass.h
)

include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/../ReflectX
    )

add_library(RXPluginTest SHARED
    ${PROJECT_SOURCES}
)


target_link_libraries(RXPluginTest
	ReflectX)
set_target_properties(RXPluginTest PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})